#define _CRT_SECURE_NO_WARNINGS	

#include<stdio.h>

int main()
{
    int n, m;
    scanf("%d%d", &n, &m);
    int sum = 0;
    double a = ((m * 2.0) / n - n + 1) / 2;
    if (a == (int)a)
    {
        for (int i = a; i <= n + a - 1; i++)
            printf("%d ", i);
    }
    else
        printf("not exist");
    return 0;
}